/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.repository;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.shanhesoft.java.common.core.vo.PageModel;
import com.shanhesoft.java.common.persistence.repository.BaseRepository;
import com.shanhesoft.java.modules.exam.domain.BankVirtualTrainingQue;
import com.shanhesoft.java.modules.exam.domain.vo.BankVirtualTrainingQueVo;

import org.apache.ibatis.annotations.Param;

/**
 * 实训题目管理Repository 实训题目管理
 * @author admin
 * @version 2020-11-17 01:00:59
 */
public interface BankVirtualTrainingQueRepository extends BaseRepository<BankVirtualTrainingQue> {
	public IPage<BankVirtualTrainingQueVo> findTrainingQueVoPage(PageModel pm, @Param(Constants.WRAPPER) QueryWrapper wrapper);
	public IPage<BankVirtualTrainingQueVo> findTrainingQueVoPageWithCount(PageModel pm, @Param(Constants.WRAPPER) QueryWrapper wrapper);
	public BankVirtualTrainingQueVo findTrainingQueVoById(String id);
	public IPage<BankVirtualTrainingQueVo> findTrainingVoPageWithCountByUserId(PageModel pm, @Param(Constants.WRAPPER) QueryWrapper wrapper);
}
